from typing import List
class Solution:
    def twoSum(self,nums:List[int],target:int)->List:
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map:
                return [hash_map[complement],i]
            else:
                hash_map[num]=i
        return []


from typing import  List
class Solurion:
    def twoSum(self,nums:List[int],target:int)->List:
        hash_map={}
        for i ,num in enumerate(nums):

            complement=target-num
            if complement in hash_map:
                return [hash_map[complement],i]
            else:
                hash_map[num]=i

        return []


from typing import  List
class Solution:
    def twoSum(self,nums:List[int],target:int)->List:
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map:
                return [hash_map[complement],i]
            else:
                hash_map[num]=i
        return []


from typing import List
class Solution:
    def twoSum(self,nums:List[int],target:int)->List:
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map:
                return [hash_map[complement],i]
            else:
                hash_map[num]=i
        return []


from typing import List
class Solution:
    def twoSum(self,nums:List[int],target:int):
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map():
                return [hash_map[complement],i]
            else :
                hash_map[num]=i
        return []
from typing import List
class Solution:
    def twoSum(self,nums:List[int],target:int):
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map:
                return [hash_map[complement],num]
            else:
                hash_map[num]=i
        return []

from typing import List
class Solution:
    def twoSum(self,nums:List[int],target:int)->List:
        hash_map=[]
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map:
                return [hash_map[complement],i]
            else:
                hash_map[num]=i
        return []

class Solution:
    def twoSum(self,nums:List[int],target:int)->List:
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map:
                return [hash_map[complement],i]
            else :
                hash_map[num]=i
        return []
class Solution:
    def Twosum(self,nums:List,target:int)->List:
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map:
                return [hash_map[complement],i]
            else:
                hash_map[num]=i
        return []

class Solution:
    def twoSum(self,nums:List[int],target:int)->List:
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if complement in  hash_map:
                return [hash_map[complement],i]
            else:
                hash_map[num]=i
        return []


class Solution:
    def twoSum(self,nums:int,target:List)->List:
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map:
                return [hash_map[complement],i]
            else:
                hash_map[num]=i


class Solution:
    def twoSum(self,nums:List,target:int):
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map:
                return [hash_map[complement],i]
            else:
                hash_map[num]=i
        return []

class Solution:
    def twoSum(self,nums:List,target:int):
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map:
                return [hash_map[complement],i]
            else:
                hash_map[num]=i


class Solution:
    def twoSum(self,nums:List,target:int)->List:
        hash_map={}
        for i,num in enumerate(nums):
            complement = target - num
            if complement in hash_map:
                return [hash_map[complement],i]
            else:
                hash_map[num]=i

class Solution:
    def twosum(self,nums:List,target:int)->List:
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map:
                return [hash_map[complement],i]
            else:
                hash_map[num]=i

        return []

class Solution:
    def twoSum(self,nums:List,target:int):
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map:
                return [hash_map[complement],i]
            else:
                hash_map[num]=i


class Solution:
    def twoSum(self,nums:List,target:int):
        hash_map=[]
        for i,num in enumerate(nums):
            complement=target-num
            if complement in hash_map:
                return [i,hash_map[complement]]
            else:
                hash_map[num]=i



class Solution:
    def twosum(self,nums:List,target:int):
        hash_map={}
        for i,num in enumerate(nums):
            complement=target-num
            if num in hash_map:
                return [i,hash_map[num]]
            else:
                hash_map[num]=i
        return []






